package com.lr.service;


import com.lr.entity.Company;
import com.lr.entity.JobFair;
import com.lr.entity.Recruit;
import com.lr.entity.Resume;

import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;

public interface DWService {

    public Integer Register(String userName,String password);
    public String login(String userName, String password, String code, HttpSession session);
    public Company dwInfo(String userJSON);
    public Integer dwVerifyPassword(String userJSON,String password);
    public Integer updateCompany(String userJSON,Company company);
    public List<Resume> searchResume(Resume resume);
    public Resume getResumeById(String userJSON,Integer resumeId);
    public Map getRecruit(String userJSON);
    public Integer addRecruit(Recruit recruit);
    public Integer updateRecruitStatus(Integer id,Integer status);
    public Integer delRecruit(Integer id);
    public Recruit getRecruitById(Integer id);
    public Integer upRecruitById(Recruit recruit);
    public List<Recruit> getQZInfo(String userJSON);
    public List<Resume> getResumeByRecruitId(Integer recruitId);
    public List<JobFair> getJobFair(String userJSON);
    public Integer addJobFair(String userJSON,JobFair jobFair);
    public Integer updateJobFairStatus(Integer id,Integer status);
    public JobFair getJobFairById(Integer id);
    public Integer upJobFair(JobFair jobFair);
    public Integer delJobFair(Integer id);
}
